# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Jeff Pohlmeyer <yetanothergeek@gmail.com>
# Maintainer: Jeff Pohlmeyer <yetanothergeek@gmail.com>
pkgname=jwm
pkgver=2.3.7
pkgrel=1
pkgdesc="A lightweight window manager for the X11 Window System"
options="!check" # No testsuite
url="http://joewing.net/projects/jwm/"
arch="all !s390x !mips !mips64" # librsvg
license="MIT"
makedepends="libx11-dev libxext-dev libxft-dev libxmu-dev libxinerama-dev
	libxpm-dev libxrender-dev libjpeg-turbo-dev libpng-dev librsvg-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="http://joewing.net/projects/jwm/releases/jwm-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-rpath
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="dab0241518e52aa2e3e1ef3f67b6965ceb683bdb0224de7d3a653d76440606d70e86e35047eda40ea53a80aa227408be77739ad7c53d51f53026e3d113ab7efc  jwm-2.3.7.tar.xz"
